<template>
    <div class="blog__item">
        <div class="blog__item-inner">
            <div class="blog__thumb">
                <img :src="details.thumbnail" alt="blog Images">
            </div>

            <div class="blog__content">
                <div class="blog__content-top">
                    <span class="blog__meta-tag" :class="`blog__meta-tag--cat${Math.floor(Math.random() * (4 - 1) + 1)}`">{{
                        details.category
                    }}</span>
                </div>
                <h6> <nuxt-link to="/blog-details">{{ details.title }}</nuxt-link> </h6>

                <div class="blog__content-bottom blog__content-bottom--border">
                    <a href="#"><span><i class="fa-solid fa-calendar-days"></i></span>
                        {{ details.date }}</a>
                </div>
            </div>
        </div>
    </div>
</template>

<script>
export default {
    props: {
        details: {
            type: Object,
            default: () => { },
        },

    }


}
</script>

<style></style>